package com.lx.gulimall.seckill.service;

import com.lx.gulimall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * @author lixun Email:lx3027@126.com
 * @create 2021-08-20 14:26
 */
public interface SeckillService {
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckillInfo(Long skuId);

    String kill(String killId, String code, Integer number);
}
